package com.yourenbang.lingyun.transaction.web.domain.dto.fund;

import com.yourenbang.lingyun.core.util.NumberUtil;
import com.yourenbang.lingyun.core.util.json.ToJSON;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class FundQueryGroupVO implements Serializable, ToJSON {

    private Integer accountType;

    /**
     * 钱包名称
     */
    private String walletName;

    /**
     * 可提金额
     */
    private BigDecimal accountWithdrawable = NumberUtil.setDefaultScale(BigDecimal.ZERO);

    /**
     * 冻结金额
     */
    private BigDecimal accountFrozen = NumberUtil.setDefaultScale(BigDecimal.ZERO);

    /**
     * 已提金额
     */
    private BigDecimal accountWithdrawed = NumberUtil.setDefaultScale(BigDecimal.ZERO);

    /**
     * 提现费率
     */
    private BigDecimal withdrawRate = NumberUtil.setDefaultScale(BigDecimal.ZERO);

    /**
     * 提现固定金额
     */
    private BigDecimal withdrawFixedAmt = NumberUtil.setDefaultScale(BigDecimal.ZERO);

    /**
     * 账户收入
     */
    private BigDecimal accountIncome = NumberUtil.setDefaultScale(BigDecimal.ZERO);

    /**
     * 本月提现金额
     */
    private BigDecimal accountMonthWithdrawed = NumberUtil.setDefaultScale(BigDecimal.ZERO);
}
